// 地点详情
var PlaceDetail = React.createClass({
    render:function(){
        var addr = this.props.address;
        return (
            <div className="item-detail list-right">
                <h3>地点详情</h3>
                <p className="item-name">{addr.name}</p>
                <p className="item-desc">{addr.description}</p>
                <p className="item-address">{addr.address}</p>
                <p className="item-type">{addr.type}</p>
                <img className="address-img item-cover" src={addr.picture&&addr.picture[0]} />
                <img className="address-img item-cover" src={addr.picture&&addr.picture[1]} />
                <img className="address-img item-cover" src={addr.picture&&addr.picture[2]} />
            </div>         
        )
    }
});

module.exports = PlaceDetail;